package vg.services.plugin_manager.event_and_request.event;


/**
 * Event for opening new graph.
 * @author tzolotuhin
 */
public class UIEventOpenNewGraph extends AUIEvent {
	// Main data
    private final int graphModelId;
	private final String graphName;

	public UIEventOpenNewGraph(final int graphModelId, final String graphName) {
		super(EUIEventType.DEF_OPEN_NEW_GRAPH);
		this.graphModelId = graphModelId;
		this.graphName = graphName;
	}

	public int getGraphModelId() {
		return(this.graphModelId);
	}
	public String getGraphName() {
		return(this.graphName);
	}
}
